//
//  ShareContentModel.m
//  wtshoppingcite
//
//  Created by TW on 15-2-3.
//  Copyright (c) 2015年 TW. All rights reserved.
//

#import "ShareContentModel.h"

@implementation ShareContentModel

- (id)initWithShareContentInfo:(NSDictionary *)info{
    if(self = [super init]){
        id commentNumber = [info objectForKey:@"commentNumber"];
        self.commentNumber = ObjToString(commentNumber);
        
        id content = [info objectForKey:@"content"];
        self.content = ObjToString(content);
        
        id createTime = [info objectForKey:@"createTime"];
        self.createTime = ObjToString(createTime);
        
        id typeId = [info objectForKey:@"id"];
        self.typeId = ObjToString(typeId);
        
        self.imgPaths = [info objectForKey:@"imgPaths"];
        
        id nickName = [info objectForKey:@"nickName"];
        self.nickName = ObjToString(nickName);
        
        id userIcon = [info objectForKey:@"userIcon"];
        self.userIcon = ObjToString(userIcon);
        
        id praiseNumber = [info objectForKey:@"praiseNumber"];
        self.praiseNumber = ObjToString(praiseNumber);
        
        
        id type = [info objectForKey:@"type"];
        self.type = ObjToString(type);
    }
    return self;

}
@end
